package exercises.Charpter7;

class Override{
	void func(int i){
		System.out.println("Override");
	}
}

class Override1 extends Override{
	void func(char i){
		System.out.println("Override1");
	}
}

class Override2 extends Override1{
	void func(String i){
		System.out.println("Override2");
	}
}

public class Thirteen{
	public static void main(String[] args){
		Override2 test = new Override2();
		test.func(1);
		test.func('a');
		test.func("s");
	}
}
